
package com.ffcs.crmd.tsp.admin.api.facade;

import java.util.List;

import com.ctg.itrdc.platform.common.entity.PageInfo;
import com.ffcs.crmd.platform.core.ddd.api.facade.IDomBaseFacade;
import com.ffcs.crmd.tsp.admin.api.dto.JobGroupDTO;

public interface IJobGroupFacade extends IDomBaseFacade {

	/**
     * 功能说明:
     * 
     * @param clusterName
     * @param id
     * @return
     * @throws Exception
     */
    JobGroupDTO get(JobGroupDTO jobGroupDto) throws Exception;
    
    /**
     * 
     * 功能说明:
     * 
     * @param jobGroupDTOList
     * @throws Exception
     */
    public void pause(List<JobGroupDTO> jobGroupDTOList) throws Exception;
    
    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param name
     * @return
     * @throws Exception
     */
    List<JobGroupDTO> query(JobGroupDTO jobGroupDto) throws Exception; 
    
    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param name
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws Exception 
     */
    PageInfo<JobGroupDTO> queryPage(JobGroupDTO jobGroupDto) throws Exception;
    
    public void remove(JobGroupDTO jobGroupDto) throws Exception;

    public void remove(List<JobGroupDTO> jobGroupDtos) throws Exception;
    
    public void resume(List<JobGroupDTO> jobGroupDTOList) throws Exception;



    public void save(JobGroupDTO jobGroupDto) throws Exception;

    public void update(JobGroupDTO jobGroupDto) throws Exception;

}
